package com.example.medicine.Mapper;


import com.example.medicine.Bean.zhengzhuang;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface zhengzhuangMapper {

    @Select("select * from [zhengzhuang]")
    List<zhengzhuang> getAll();


        @Select("select * from [zhengzhuang] where fenlei LIKE '%中医%'")
        List<zhengzhuang> getZhongyao();

        @Select("select * from [zhengzhuang] where fenlei LIKE '%西医%'")
        List<zhengzhuang> getXiyi();


}
